<template>
  <div class="card" id="appId">
    <h1>A应用 /b页面</h1>
    <button @click="navigateTo">跳到A应用 /a页面</button>
  </div>
</template>

<script setup>
import { ref } from "vue";
import { useRouter } from "vue-router";
const router = useRouter();
function navigateTo() {
  router.push("/a");
}

const count = ref(0);
function handleClick() {
  count.value++;
}
</script>

<style scoped>
.read-the-docs {
  color: #888;
}
button {
  color: blue;
}
</style>
